#include <dolphin/ip.h>
#define IP_ALEN 4 // IP address length
void IPGetBroadcastAddr( IPInterface* interface, u8* broadcastAddr );
IPGetBroadcastAddr() gets the broadcast address of the specified interface.
interface |
Pointer to IPInterface to get the broadcast address. Use
NULL to specify the default network interface. |
broadcastAddr |
Pointer to array[IP_ALEN] of u8 that receives the broadcast address. |
None.